package com.kehutong.charge.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.kehutong.charge.util.enums.MeterTypeEnum;
import com.kehutong.common.entity.DataEntity;
import com.kehutong.common.util.BigDecimalUtils;
import org.coraframework.json.annotation.JSONField;
import org.coraframework.orm.annotation.Column;
import org.coraframework.orm.annotation.Table;
import org.coraframework.orm.util.IDType;
import org.coraframework.util.HashID;

import java.math.BigDecimal;
import java.sql.Timestamp;

/**
 * @author: jian Ye
 * @create: 2021/6/22
 * 小区抄表导出功能实体
 **/
public class MeterReadingExcelVO {


    @ExcelProperty(value = "抄表编号")
    private String meterNumber;

    @ExcelProperty(value="仪表编号")
    private String meterNo;

    @ExcelProperty(value="仪表分类名称")
    private String meterClassifyName;

    @ExcelProperty(value="仪表地址")
    private String meterAddress;

    @ExcelProperty(value="上次读数(kWh)")
    private String lastTimeNumber;

    @ExcelProperty(value="本次读数(kWh)")
    private String timeNumber;

    @ExcelProperty(value="本月用量(kWh)")
    private String timeUseNumber;

    @ExcelProperty(value="本次日期")
    private Timestamp createTime;



    public String getLastTimeNumber() {
        return lastTimeNumber;
    }
    /**特殊处理*/
    public void setLastTimeNumber(String lastTimeNumber) {
        this.lastTimeNumber = BigDecimalUtils.parse(lastTimeNumber);
    }

    public String getTimeNumber() {
        return timeNumber;
    }
    /**特殊处理*/
    public void setTimeNumber(String timeNumber) {
        this.timeNumber = BigDecimalUtils.parse(timeNumber);
    }

    public String getTimeUseNumber() {
        return timeUseNumber;
    }
    /**特殊处理*/
    public void setTimeUseNumber(String timeUseNumber) {
        this.timeUseNumber = BigDecimalUtils.parse(timeUseNumber);
    }

    public String getMeterNumber() {
        return meterNumber;
    }

    public void setMeterNumber(String meterNumber) {
        this.meterNumber = meterNumber;
    }

    public String getMeterNo() {
        return meterNo;
    }

    public void setMeterNo(String meterNo) {
        this.meterNo = meterNo;
    }

    public String getMeterClassifyName() {
        return meterClassifyName;
    }

    public void setMeterClassifyName(String meterClassifyName) {
        this.meterClassifyName = meterClassifyName;
    }

    public String getMeterAddress() {
        return meterAddress;
    }

    public void setMeterAddress(String meterAddress) {
        this.meterAddress = meterAddress;
    }

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }
}
